package github.kawaiior.botapiserver.entity;

public class User {
    private int id;
    private String account;
    private String password;
    private String token;
    private int access;

    public User(String account, String password, String token, int access) {
        this.account = account;
        this.password = password;
        this.token = token;
        this.access = access;
    }

    public User(int id, String account, String password, String token, int access) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.token = token;
        this.access = access;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getAccess() {
        return access;
    }

    public void setAccess(int access) {
        this.access = access;
    }
}
